package org.tarasov.chapter2

/**
 * This source code free and open source
 * Author: Dmitriy Tarasov
 * Date: 04/04/11
 * Time: 22:50
 */
assert '12345' =~ /\d+/
assert 'xxxxx' == '12345'.replaceAll(/\d/, 'x')